package it.fuesi.synoutils.model.filestation;

import java.util.Set;

import it.fuesi.synoutils.model.base.BaseApiClientParameters;

/**
 * Created by pascotto on 23/10/14.
 */
public class FileStationClientParameters extends BaseApiClientParameters {


    private String folder_path;
    private String file_path;
    private String name;

    private boolean overwrite = false;
    private boolean remove_src = false;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public boolean isOverwrite() {
        return overwrite;
    }

    public void setOverwrite(boolean overwrite) {
        this.overwrite = overwrite;
    }

    public boolean isRemove_src() {
        return remove_src;
    }

    public void setRemove_src(boolean remove_src) {
        this.remove_src = remove_src;
    }

    public String getFile_path() {
        return file_path;
    }

    public void setFile_path(String file_path) {
        this.file_path = file_path;
    }

    private Set<String> filePathList;

    public void addToFilePath(Set<String> files){
        filePathList = files;
    }

    public Set<String> getFilePathList(){
        return this.filePathList;
    }

    public String getFolder_path() {
        return folder_path;
    }

    public void setFolder_path(String folder_path) {
        this.folder_path = folder_path;
    }

    public static FileStationClientParameters build(boolean expireCache){
        final FileStationClientParameters params = new FileStationClientParameters();
        params.setRefreshCache(expireCache);
        return params;
    }
}
